#ifndef ___BASE64_H___
#define ___BASE64_H___

#include <string>  

class CBase64
{
public:
	CBase64();
	~CBase64();
	std::string static base64_encode(unsigned char const*, unsigned int len);
	std::string static base64_decode(std::string const& s);
	bool static base64_decode(const std::string& strIn, unsigned char *pOut, unsigned long *uOutLen);
};
#endif // ___BASE64_H___